<?php
	class Rules extends BaseModel {

		private $idRules;
		private $league;
		private $title;
		private $content;
		private $updated;
		private $number;

		public function getIdRules() {
			return $this->idRules;
		}
		
		public function setIdRules($value) {
			$this->idRules = $value;
		}
		
		public function getLeague() {
			return $this->league;
		}
		
		public function setLeague($value) {
			$this->league = $value;
		}
		
		public function getTitle() {
			return $this->title;
		}
		
		public function setTitle($value) {
			$this->title = $value;
		}
		
		public function getContent() {
			return $this->content;
		}
		
		public function setContent($value) {
			$this->content = $value;
		}
		
		public function getUpdated() {
			return $this->updated;
		}
		
		public function setUpdated($value) {
			$this->updated = $value;
		}
		
		public function getNumber() {
			return $this->number;
		}
		
		public function setNumber($value) {
			$this->number = $value;
		}
		
		public function required() {
			return array(
				"idRules" => $this->idRules,
				"league" => $this->league,
				"title" => $this->title,
				"content" => $this->content,
				"updated" => $this->updated,
				"number" => $this->number
			);
		}

		public function json() {
			return array(
				"idRules" => $this->idRules,
				"league" => $this->league,
				"title" => $this->title,
				"content" => $this->content,
				"updated" => $this->updated,
				"number" => $this->number
			);
		}

	}